package com.cgsrp.cgsrp_shopping.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_shopping.dao.ProductPhotoMapper;
import com.cgsrp.cgsrp_shopping.domain.ProductPhoto;
import com.cgsrp.cgsrp_shopping.service.ProductPhotoService;
@Service
public class ProductPhotoServiceImpl implements ProductPhotoService{

    @Resource
    private ProductPhotoMapper productPhotoMapper;

    @Override
    public int insert(ProductPhoto record) {
        return productPhotoMapper.insert(record);
    }

    @Override
    public int insertSelective(ProductPhoto record) {
        return productPhotoMapper.insertSelective(record);
    }

}
